#
# These things are run when an Openbox X Session is started.
# You may place a similar script in $HOME/.config/openbox/autostart
# to run user-specific things.
#
# ---

# UI Appearance - Open Last Theme (wallpaper, panel, notify-daemon)
current="$(cat ~/.config/openbox/visual-mode/current)"
bash ~/.config/openbox/visual-mode/$current/ui

#temp panel
#xfce4-panel &


# Tray
#bash ~/.config/openbox/tray
#nm-applet

# Compositor
picom -b

# Policy Kit
lxpolkit &

# Power Manager
xfce4-power-manager &

# Lock Screen Handler
#xss-lock -- /usr/bin/slimlock &
#light-locker &

# Apps & Others (ex:mpd)
mpd &
xclip &

# Input Device config
# Touchpad Natural Scrolling, Tap-to-click, Flat Accel, & Pointer Speed
#xinput set-prop "ETPS/2 Elantech Touchpad" "libinput Tapping Enabled" 1 &
#xinput set-prop "ETPS/2 Elantech Touchpad" "libinput Natural Scrolling Enabled" 1 &
#xinput set-prop "ETPS/2 Elantech Touchpad" "libinput Accel Profile Enabled" 0, 1 &
#xinput set-prop "ETPS/2 Elantech Touchpad" "libinput Accel Speed" 0.5 &
 
# Mouse Flat Acceleration + Pointer Speed 
#xinput set-prop "Logitech G102 Prodigy Gaming Mouse" "libinput Accel Profile Enabled" 0, 1 &
#xinput set-prop "Logitech G102 Prodigy Gaming Mouse" "libinput Accel Speed" 0.2 &
 
